from tkinter import *

N = 5
X = 100
coords = [0 * N + X, 0 * N + X, 10* N + X, 0 * N + X, 10 * N + X, 10 * N + X, 20 * N + X, 10 * N + X, 20 * N + X, 20 * N + X, 0 * N + X, 20 * N + X]
root = Tk()
root.title("ИТ марафон")
root.geometry("500x500")
canvas = Canvas(bg = "purple", width = 500, height = 500)
canvas.pack(anchor = CENTER, expand = 1)
canvas.create_polygon(coords)
root.mainloop()

